<template>
  <el-table :data="List"  border style="width: 100%" show-overflow-tooltip>
    <el-table-column prop="logid" label="日志id" width="180"> </el-table-column>
    <el-table-column prop="vistorip" label="ip地址" width="180"> </el-table-column>
    <el-table-column prop="vistitortime" label="时间"> </el-table-column>
    <el-table-column prop="vistormethod" label="使用方法"> </el-table-column>
    <el-table-column prop="other" label="其他" width="80"> </el-table-column>
  </el-table>
</template>

<script>
import { getLoglist } from '@/api/log';


export default {
  name: "log",
  data() {
    return {
        List:[],

    };
  },
  created(){
    this.getData()
  },
  methods: {
    getData(){
        getLoglist().then((res) =>{
            this.List = res.data
        })
    }

  },
};
</script>

<style>
</style>


